{"version":3,"sources":["link.bundle.js"],"names":["this","BX","Landing","Ui","exports","main_core","landing_ui_panel_content","Link","Content","constructor","super","instance","attr","Utils","join","random","setTextContent","isPlainObject","isString","textToPlaceholders","findParent","escapeText","UI","Panel","apply","arguments","layout","classList","add","overlay","appendFooterButton","Button","BaseButton","text","Loc","getMessage","onClick","save","bind","className","hide","document","body","appendChild","static","title","show","node","form","innerHTML","Block","Node","Form","BaseForm","manifest","name","field","getField","addField","clear","appendForm","call","EditorPanel","getInstance","Text","Field","range","getSelection","getRangeAt","textField","BaseField","currentField","isEditable","link","cloneContents","querySelector","startContainer","tagName","href","target","getAttribute","remove","header","allowedTypes","LinkURL","TYPE_BLOCK","TYPE_PAGE","Main","options","params","type","push","TYPE_CATALOG","content","innerText","toString","siteId","site_id","landingId","id","filter","isChanged","setValue","getValue","value","removeAllRanges","addRange","enableEdit","tmpHref","selection","execCommand","anchorNode","parentElement","includes","hrefInput","getPlaceholderData","then","placeholdersData","replace","RegExp","attrs"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,GACrBD,KAAKC,GAAGC,QAAUF,KAAKC,GAAGC,SAAW,GACrCF,KAAKC,GAAGC,QAAQC,GAAKH,KAAKC,GAAGC,QAAQC,IAAM,IAC1C,SAAUC,EAAQC,EAAUC,GAC5B,aAEA,MAAMC,UAAaD,EAAyBE,QAC1CC,cACEC,QACAV,KAAKW,SAAW,KAChBX,KAAKY,KAAOX,GAAGC,QAAQW,MAAMD,KAC7BZ,KAAKc,KAAOb,GAAGC,QAAQW,MAAMC,KAC7Bd,KAAKe,OAASd,GAAGC,QAAQW,MAAME,OAC/Bf,KAAKgB,eAAiBf,GAAGC,QAAQW,MAAMG,eACvChB,KAAKiB,cAAgBhB,GAAGC,QAAQW,MAAMI,cACtCjB,KAAKkB,SAAWjB,GAAGC,QAAQW,MAAMK,SACjClB,KAAKmB,mBAAqBlB,GAAGC,QAAQW,MAAMM,mBAC3CnB,KAAKoB,WAAanB,GAAGC,QAAQ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